package org.apache.ibatis.demo.decorationTest2;

/**
 * @Date 2021/2/21 18:00
 * @Created mobian
 * @Description
 */
public abstract class AbstractScoreDecoration implements IScoreRepo {

  IScoreRepo delegate;


  public AbstractScoreDecoration() {
  }

  public AbstractScoreDecoration(IScoreRepo delegate) {
    this.delegate = delegate;
//    delegate.showScoreResult();
  }

  @Override
  public void showScoreResult() {
    delegate.showScoreResult();
  }
}
